import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/user'



import {
  Container,
  Header,
  Main,
  Aside,
  Footer,
  Collapse,
  CollapseItem,
  Carousel,
  CarouselItem,
  TabPane,
  Tabs,
  Dropdown,
  Button,
  DropdownItem,
  DropdownMenu,
  Icon,
  Input,
  InputNumber,
  Backtop,
  Pagination,
  Form,
  FormItem,
  Option,
  Message
} from 'element-ui'

Vue.use(Container);
Vue.use(Header);
Vue.use(Main);
Vue.use(Aside);
Vue.use(Footer);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Message);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.use(InputNumber);
Vue.use(Option);
Vue.use(Backtop);
Vue.use(Pagination);
Vue.use(Icon);
Vue.use(Button);
Vue.use(Dropdown);
Vue.use(DropdownItem);
Vue.use(DropdownMenu);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Carousel);
Vue.use(CarouselItem);

Vue.prototype.$message = Message;
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
